﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Tools.Libraries;

namespace App_Clinique.ClassLibrary.Classes
{
    [Serializable]
    public class Identification
    {
        public Identification(string Identifiant, string motDePasse)
        {
            this.Identifiant = Identifiant;
            this.MotDePasse = Hash.GetSHA1Hash(motDePasse);
        }

        public String Identifiant { get; set; }
        public Byte[] MotDePasse { get; set; }
    }
}
